<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

</head>

<body>
    <script>
        // 输出
        document.write("哈哈哈哈哈哈");
        document.write("<h1>哈哈哈哈哈哈</h1>");
        alert("hhhhhh");
        console.log("hhhhhhhhh");

        // 输入
        prompt('输入:');
    </script>
</body>

</html>